<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<smart>include file ='../head.config.html'</smart>
<link href="../css/layout.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/select_area_<smart> $versionarea </smart>.js"></script>
<script type="text/javascript">
	function orderbyprice() {$('#order').val('2');document.getElementById('form_p_list').submit()};
	function orderbylefttime() {$('#order').val('1');document.getElementById('form_p_list').submit()};
	function limitpage(page) {$('#pagelimit').val(page);document.getElementById('form_p_list').submit()};
	function showpage(listway) {$('#showpage').val(listway);document.getElementById('form_p_list').submit()};
</script>
</head><body>
<div id="container1024"> <smart>include file ='../header.html'</smart> <smart>include file ='search_nav.html'</smart>
  <form action="product.php" method="get" name="form_p_list" id="form_p_list">
  
    <input type="hidden" name="action" value="<smart> $product_condition.action </smart>" />
    <input type="hidden" name="curpage" value="1" />
    <input type="hidden" name="pcid" value="<smart> $product_condition.pcid </smart>" />
    <input type="hidden" name="searchtype" value="<smart> $product_condition.searchtype </smart>" />
    <input type="hidden" name="shopname" value="<smart> $product_condition.shopname </smart>" />
    <input type="hidden" name="tf_charge" value="<smart> $product_condition.tf_charge </smart>" />
    <input type="hidden" name="autopub" value="<smart> $product_condition.autopub </smart>" />
    <input type="hidden" name="searchcate" value="<smart> $product_condition.searchcate </smart>" />
    <input name="order" type="hidden" id="order" value="<smart> $product_condition.order </smart>" />
    <input type="hidden" name="sorttype" value="<smart> $product_condition.sorttype </smart>" />
    <input name="pagelimit" type="hidden" id="pagelimit" value="<smart> $product_condition.pagelimit </smart>" />
    <input name="showpage" type="hidden" id="showpage" value="<smart> $product_condition.showpage </smart>" />
    <div id="ListChooseForm">
      <div class="Title B">缩小搜索范围</div>
      <div id="ListSortTerms">
        <ul style="padding:20px">
          <li class="FirstLine">关键字：
            <input type="text" value="<smart> $product_condition.keyword </smart>" size="10" name="keyword" id="keyword"/>
          </li><input type="hidden" name="searchtype" value="1">
          <li class="FirstLine" style=" border-bottom:1px #CCCCCC dashed">价格范围：
            <input type="text" size="4" value="<smart> $product_condition.price_min </smart>" name="price_min" id="price_min"/>
            至
            <input type="text" size="4" value="<smart> $product_condition.price_max </smart>" name="price_max" id="price_max"/>
          </li>
          <li>
            <input type="checkbox" value="1" id="FormLiteBuyNow" name="sell_type[]"/>
            <label for="FormLiteBuyNow">一口价</label>
          </li>
          <li>
            <input type="checkbox" value="0" id="FormLiteIsJustNew" name="p_type[]" <smart> if $product_condition.p_type == "0" </smart>checked="checked"<smart> /if </smart> />
            <label for="FormLiteIsJustNew">全新</label>
            <input type="checkbox" value="1" id="FormLiteIsNew" name="p_type[]" <smart> if $product_condition.p_type == "1" </smart>checked="checked"<smart> /if </smart> />
            <label for="FormLiteIsNew">二手</label>
            <input type="checkbox" value="2" id="FormLiteIsUnused" name="p_type[]" <smart> if $product_condition.p_type == "2" </smart>checked="checked"<smart> /if </smart> />
            <label for="FormLiteIsUnused">闲置</label>
          </li>
          <li  style=" border-bottom:1px #CCCCCC dashed">
            <input type="checkbox" value="2" id="FormLiteBulk" name="sell_type[]" <smart> if $product_condition.sell_type == "2" </smart>checked="checked"<smart> /if </smart>/>
            <label for="FormLiteBulk">团购</label>
          </li> 
		  <li>
            <input type="checkbox" value="1" id="FormLiteOverItem" name="end_time"/>
            <label for="FormLiteOverItem">即将结束</label>
          </li>
          <li> 所在地：
            <input type="text" value="<smart> $product_condition.search_place </smart>" size="8" name="search_place" id="search_place"/>
          </li>
         
        </ul>
        <div class="Title" id="ChooseCtrl"> <span><a class="More" id="ChooseMore" href="#">更多</a></span>
          <button id="ListSearchFormSubmit" type="submit">确定</button> 
          <button id="ListSearchFormReset" type="button">重置</button>
        </div>
      </div>
    </div>
    
	<smart> include file ='product.reviewed.html' </smart>
	<smart> include file ='product.bought.html' </smart>
	
    <div id="InfoSelectorTarget"> <smart> include file ='../InfoSelectorTarget.html' </smart></div>
    <div id="DisplaySettings">
      <ul id="DisplayMode">
        显示方式：
        <li><a href="javascript:showpage('1')"><img alt="列表方式" title="列表方式" src="http://img.taobao.com/2k5/sys/component/display_mode_list_act.gif"/></a></li>
        <li><a href="javascript:showpage('2')"><img alt="图片方式" title="图片方式" src="http://img.taobao.com/2k5/sys/component/display_mode_grid.gif"/></a></li>
        <li><a href="javascript:showpage('3')"><img alt="纯文字方式" title="纯文字方式" src="http://img.taobao.com/2k5/sys/component/display_mode_text.gif"/></a></li>
      </ul>
      <ul id="ItemAmount">
        每页显示数量：
        <li><a href="javascript:limitpage('20')"><img alt="每页显示20个宝贝" title="每页显示20个宝贝" src="http://img.taobao.com/2k5/sys/component/item_amount_20.gif"/></a></li>
        <li><a href="javascript:limitpage('40')"><img alt="每页显示40个宝贝" title="每页显示40个宝贝" src="http://img.taobao.com/2k5/sys/component/item_amount_40.gif"/></a></li>
        <li><a href="javascript:limitpage('80')"><img alt="每页显示80个宝贝" title="每页显示80个宝贝" src="http://img.taobao.com/2k5/sys/component/item_amount_80_act.gif"/></a></li>
      </ul>
      <ul id="SortMode">
        排序方式：
        <li><a href="javascript:orderbyprice()"><img alt="按价格排列" title="按价格排列" src="http://img.taobao.com/2k5/sys/component/sortby_price_up.gif"/></a></li>
        <li><a href="javascript:orderbylefttime()"><img alt="按时间排列" title="按时间排列" src="http://img.taobao.com/2k5/sys/component/sortby_time_up.gif"/></a></li>
      </ul>
      <select name="viewType">
        <option value="">选择排序/显示方式</option>
        <option value="1">按价格 从低到高</option>
        <option value="2">按价格 从高到低</option>
        <option value="3">按剩余时间 从少到多</option>
        <option value="4">按剩余时间 从多到少</option>
        <option value="5">按卖家信用等级 从高到低</option>
        <option value="6">按卖家信用等级 从低到高</option>
        <option value="7">列表方式</option>
        <option value="8">图片方式</option>
        <option value="9">纯文字方式</option>
        <option value="10">每页显示20个</option>
        <option value="11">每页显示40个</option>
        <option value="12">每页显示80个</option>
      </select>
      <!--<div id="QuickPageChanger">1/20 <img alt="上一页" src="http://img.taobao.com/2k5/sys/component/pre_page_simple.gif"/><a href="#"><img alt="翻到下一页" title="翻到下一页" src="http://img.taobao.com/2k5/sys/component/next_page_act.gif"/></a> </div>
    </div>-->
    <table id="product_list" style=" height:100%">
      <colgroup>
      <col />
      <col />
      <col />
      <col />
      <col id="p_province" />
      <col id="left_time" />
      </colgroup>
      <thead>
        <tr>
          <th class="compare_arror_top"><input name="Submit" type="button" style="width:100px; margin-left:30px" onclick="window.open('product.php?action=compare&amp;pcode='+$('input:checked').map(function(){return $(this).val();}).get().join('_'));" value="对比选中的宝贝" />
          </th>
          <th></th>
          <th></th>
          <th></th>
          <th></th>
          <th><label>
            <select name="select" id="select" onchange="$('#search_place').val(this.value);form_p_list.submit()">
              <option value="0">所在地</option>
            </select>
            </label></th>
        </tr>
      </thead>
      <tfoot>
        <tr>
          <th class="compare_arror_bottom" style="border-bottom:0"><input name="Submit" type="button" style="width:100px; margin-left:30px" onclick="window.open('product.php?action=compare&amp;pcode='+$('input:checked').map(function(){return $(this).val();}).get().join('_'))" value="对比选中的宝贝" /></th>
          <th colspan="5" style="border-bottom:0; text-align:right"><smart> $page_list </smart></th>
        </tr>
      </tfoot>
      <tbody>
      <tr>
        <td colspan="6">
      <smart> section name=i loop=$product_array </smart>
      	<div class="Item">
			<div class="CompareCheck">
				<input name="contrast" type="checkbox" value="<smart> $product_array[i].p_code </smart>" />
			</div>
			<div class="Pic">
			<a href="product.php?action=view&amp;pid=<smart> $product_array[i].p_code </smart>" ><img src="<smart> $site_url </smart>/<smart> $product_array[i].p_pic|default:'templates/default/home/images/default.jpg' </smart>" alt="<smart> $product_array[i].p_name </smart>" class="p_pic80" style="vertical-align:middle; margin-left:10px" /></a>
			</div>
	
			<div class="Price"><span class="font_orange B"> <smart> $product_array[i].p_price </smart> </span></div>
			<div class="Legend">
			<img src="../templates/default/home/images/icon_buynow.gif" alt="一口价" /></span>	</div>
			<div class="Name"><a href="product.php?action=view&amp;pid=<smart> $product_array[i].p_code </smart>" class="B"><smart> $product_array[i].p_name </smart></a>
			</div>
		</div>
      <smart> /section </smart>
      </td>
      </tr>
      </tbody>
      
    </table>
  </form>
  <script type="text/javascript">

//ifshowcode=1;
iniProvince(document.getElementById('select'));

</script>
</div>  <smart>include file ='../footer.html'</smart> 
</body>
</html>
